home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / status10.zip / STATUS.DOC < prev    next >
Text File  |  1992-10-03  |  7KB  |  152 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                  Network Mail STATUS
  8.  
  9.           =================================================================
  10.  
  11.                This  program  generates  an  network   import  mail  status
  12.           bulletin  showing each  conference, 1000  maximum, and  the total
  13.           number of messages to  date per conference, the last  import date
  14.           and  the total messages to  date for the  specified network. This
  15.           program uses Postlink's export/import log(s).
  16.  
  17.                This archive should contain the following files:
  18.  
  19.                        STATUS.EXE STATUS.DOC READ.ME STATUS.BAT
  20.  
  21.                STATUS.EXE is the actual  program, STATUS.DOC should be this
  22.           file, READ.ME contains any update/changes information, STATUS.BAT
  23.           is a sample  batch file showing  various ways the program  can be
  24.           used.
  25.  
  26.                If  you find this program  useful please send  $7.50. If you
  27.           don't  like it please  write to me  and explain why.  Send me any
  28.           suggestions  you might  have  and tell  me  about them.  If  they
  29.           enhance the overall program  I will try incorporate part/some/all
  30.           in the next release. I  just put too much time into  this program
  31.           to release it as freeware like I did my Lasttime program.
  32.  
  33.                It was my own  idea not to include export  information since
  34.           some  sysops might use  it as  a club to  beat over the  heads of
  35.           their  users for not sending  out very many  messages. I also did
  36.           not want  to see anyone offended,  user or sysop, by  the lack of
  37.           outgoing  messages.  If enough  people  want  an export  bulletin
  38.           generated I  will make a separate  bulletin generator/program for
  39.           this.
  40.  
  41.                Syntax is pretty straight forward:
  42.  
  43.            STATUS Postlink C:\POSTLINK.LOG C:\PCB\GEN\BLT7 [ANSI[ASCII]]
  44.  
  45.                "Postlink"  is the actual name of the network you are using,
  46.           one word and is  case sensitive. 14 characters max,  longer names
  47.           may cause line  wrap on the second line of  the bulletin. Say you
  48.           are  making  two  different  network  mail  runs  with  the  same
  49.           software, you would use those names here. 
  50.  
  51.                "C:\POSTLINK.LOG" is the path to you Postlink log(s).
  52.  
  53.                "C:\PCB\GEN\BLT7" is the path and name for your bulletin.
  54.  
  55.                "ANSI"   means  colorizing  and   no  IBM  extended  graphic
  56.           characters. "ASCII"  means no colorizing or  IBM extended graphic
  57.           characters. Default  is  "PCB" and  means  it uses  IBM  extended
  58.           graphic  characters and  PCBoard's @X0  colorizing codes.  If you
  59.           leave the fourth  parameter blank it defaults to PCB.  You do not
  60.           need to add "PCB" as a parameter.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                "PKZIP.EXE" must be somewhere in your path or in the current
  67.           directory. When  the month  changes in the  export/import.log the
  68.           program  archives the  current  log into  a  file using  'ML'+the
  69.           current  date  (ML093092.ZIP,  etc.) and  writes  it  out to  the
  70.           directory  that contains the log file.  The program then rewrites
  71.           the log  using only the current new  month's data. This way there
  72.           is only  one month's log data  in your postlink's log.  If you do
  73.           not want the previous month's log simply delete it from your hard
  74.           drive.  If there  are  no imported  messages on  the  day of  the
  75.           rollover  then  a bulletin  reflecting  no  imported messages  is
  76.           generated. There must be at least  one meg of free disk space for
  77.           the archive to be executed. I have no idea the possible sizes and
  78.           if  anyone has  problems with  the archive  with  one meg  as the
  79.           minimum please  let me know and  I will increase the  size of the
  80.           free space needed.
  81.  
  82.                The first three command line  options must be populated. All
  83.           errors  generated in the program are written out to a file called
  84.           "STATUS.ERR", which includes  the date and  time stamp for  those
  85.           running this in an unattended event. The program first checks the
  86.           current  directory  for  STATUS.EXE   and  this  is  the  default
  87.           directory if STATUS.EXE is not in your path.
  88.  
  89.                If  you are making two  or more DIFFERENT  network mail runs
  90.           the only  thing  you  must  do  is make  two  or  more  different
  91.           POSTLINK.CFG files,  one with the name  of the LOG file  for each
  92.           network so  that ALL imports are  not put into one  file. I would
  93.           have no  way of knowing what  network they came form  in order to
  94.           separate them.  You would then  just have a  TEMP1.CFG, TEMP2.CFG
  95.           and when you call postlink  you just copy TEMP1.CFG POSTLINK.CFG,
  96.           then on next run you might copy TEMP2.CFG POSTLINK.CFG, etc.
  97.  
  98.                A simple batch file might look like one of these:
  99.  
  100.            CD \POSTLINK
  101.            COPY TEMP1.CFG POSTLINK.CFG
  102.            POSTLINK CALLER.CFG
  103.            STATUS Postlink C:\POSTLINK\POSTLINK.LOG C:\PCB\GEN\BLT7 ASCII
  104.  
  105.  
  106.            CD \POSTLINK
  107.            Copy TEMP2.CFG POSTLINK.CFG
  108.            POSTLINK CALLER2.CFG
  109.            STATUS MyNetwork C:\POSTLINK\MYNET.LOG BLT8 ASCII
  110.  
  111.                Perhaps you want  to make  a bulletin with  the PCBoard  @X0
  112.           codes in it and  one using straight ASCII  codes and yet  another
  113.           using ANSI codes. Here are the three examples:
  114.  
  115.                STATUS Postlink C:\PCB\LOGS\POSTLINK.LOG BLT7G
  116.                (bulletin with PCBoard ANSI codes and IBM extended graphic
  117.                 characters)
  118.  
  119.  
  120.  
  121.  
  122.  
  123.                STATUS Postlink C:\PCB\LOGS\POSTLINK.LOG BLT7 ASCII
  124.                (bulletin in ASCII and no IBM extended graphic characters)
  125.  
  126.                STATUS Postlink C:\PCB\LOGS\POSTLINK.LOG BLT7G ANSI
  127.                (bulletin in ANSI colors and no IBM extended graphic       
  128.                 characters)
  129.  
  130.                You just call STATUS as many  times as you need to  generate
  131.           whatever formats you  want. A  batch file to  generate all  three
  132.           formats might look like this:
  133.  
  134.                ECHO OFF
  135.                STATUS Postlink C:\PCB\LOGS\POSTLINK.LOG BLT7   ASCII
  136.                STATUS Postlink C:\PCB\LOGS\POSTLINK.LOG BLT7G 
  137.                STATUS Postlink C:\PCB\LOGS\POSTLINK.LOG BLT77G ANSI
  138.  
  139.                If  you need  a  mail transfer  bulletin  you might  try  my
  140.           LASTTIME.EXE  program. File names are compile dates: LT100392.ZIP
  141.           as the current filename/version as of this writing. The  versions
  142.           dated 092492+ are for the Postlink LASTTIME.TXT file. This format
  143.           is different than the  one generated by the old  PCRelay software
  144.           and  are  not  compatible  with  one  another.  On  top  of  that
  145.           Postlink's  LASTTIME.TXT   uses  some  rather   strange,  to  me,
  146.           syntax/format.
  147.  
  148.  
  149.                     James Huckabey
  150.                     3621-A Fraser Street
  151.                     Bellingham, Washington 98226 U.S.A.
  152.                     (206) 671-2868 (voice)